package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 技师评价表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:09
 */
@Getter
@Setter
@TableName("t_technician_appraise")
@ApiModel(value = "TechnicianAppraise对象", description = "技师评价表")
public class TechnicianAppraise implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("往期概况表pk")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("订单id")
    @TableField("order_no")
    private String orderNo;

    @ApiModelProperty("技师id")
    @TableField("technician_id")
    private Long technicianId;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("劳累部位")
    @TableField("exertion_areas")
    private String exertionAreas;

    @ApiModelProperty("受力")
    @TableField("stressed")
    private String stressed;

    @ApiModelProperty("地址类型")
    @TableField("address_type")
    private String addressType;

    @ApiModelProperty("客户性别")
    @TableField("customer_sex")
    private String customerSex;

    @ApiModelProperty("客户年龄")
    @TableField("customer_age")
    private Integer customerAge;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("危险等级")
    @TableField("dangerous_leave")
    private Integer dangerousLeave;

    @ApiModelProperty("技师对客户的评价")
    @TableField("dangerous_remark")
    private String dangerousRemark;

    @ApiModelProperty("是否删除(0=否，1=是)")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
